package chap15;

class Generbaisc<T>{
     public T element;
     public T get(){return element;}
     public void set(T arg){element=arg;}
}

class Derived1<T> extends Generbaisc<T>{}

class Derived2 extends Generbaisc{}

public class Erasure{
	public static void main(String[] args) {
		Derived2 d=new Derived2();
		Object o=new Object();
		d.set(o);
		System.out.println(d.get());
	}
}
